package com.zmy.springboot.service.Impl;

import com.zmy.springboot.bean.AccountType;
import com.zmy.springboot.dao.AccountTypeDAO;
import com.zmy.springboot.service.AccountTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @PROJECT_NAME：springboot+thymeleaf-1-7
 * @author： zhangyaoyao
 * @date： 2020/1/7 22:42
 * @ 听说你要在海边买一所房子和 你可爱的松子一起住在哪里
 */
@Service
public class AccountTypeServiceImpl  implements AccountTypeService {
    @Autowired
    private AccountTypeDAO accountTypeDAO;
    @Override
    public List<AccountType> getAccountTypes() {
        return accountTypeDAO.getAccountTypes();
    }
}
